package org.example.classtopia.Model.vo;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 帖子视图对象
 */
@Data
public class PostVO {

    private Long id;

    private Long authorId;

    private String title;

    private String content;

    private Integer status;

    private Integer commentCount;

    private Integer likeCount;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    // 如果需要可以添加作者昵称、头像等扩展字段
    private Long categoryId;
    private String categoryName; // 分类名称
    private String authorNickname; // 作者昵称
    private String authorAvatar;   // 作者头像
}
